<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>My spending record</title>
    <link href="minimal-table.css" rel="stylesheet" type="text/css">
    <style>
      tbody {
        font-size: 90%;
        font-style: italic;
      }
      tfoot {
        font-weight: bold;
      }
    </style>
  </head>
  <body>
    <h1>我的支出记录</h1>

      <table>
        <caption>我的消费习惯</caption>
        <thead>
          <tr>
            <th>购买</th>
            <th>地点</th>
            <th>时间</th>
            <th>评价</th>
            <th>花费（人民币）</th>
          </tr>
        </thead>
        <tfoot>
          <tr>
            <td colspan="4">合计</td>
            <td>118</td>
          </tr>
        </tfoot>
        <tbody>
          <tr>
            <td>理发</td>
            <td>理发店</td>
            <td>12/09</td>
            <td>好主意</td>
            <td>30</td>
          </tr>
          <tr>
            <td>千层饼</td>
            <td>餐厅</td>
            <td>12/09</td>
            <td>后悔</td>
            <td>18</td>
          </tr>
          <tr>
            <td>鞋</td>
            <td>鞋店</td>
            <td>13/09</td>
            <td>非常后悔</td>
            <td>65</td>
          </tr>
          <tr>
            <td>牙膏</td>
            <td>超市</td>
            <td>13/09</td>
            <td>不错</td>
            <td>5</td>
          </tr>
        </tbody>
    </table>

  </body>
</html>
